/* 登录页面特定样式 */
.auth-container {
    max-width: 400px;
    margin: 40px auto;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.auth-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 2px solid #ddd;
}

.auth-tab {
    flex: 1;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    color: #666;
    transition: all 0.3s;
}

.auth-tab.active {
    color: #4CAF50;
    border-bottom: 2px solid #4CAF50;
    margin-bottom: -2px;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.password-strength {
    margin-top: 5px;
    font-size: 14px;
}

.password-strength.weak {
    color: #f44336;
}

.password-strength.medium {
    color: #ff9800;
}

.password-strength.strong {
    color: #4CAF50;
}

.submit-button {
    width: 100%;
    padding: 12px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: #45a049;
}

.submit-button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

/* 验证码相关样式 */
.verification-group {
    margin-bottom: 20px;
}

.verification-input-group {
    display: flex;
    gap: 10px;
}

.verification-input-group .form-input {
    flex: 1;
}

.send-code-button {
    padding: 0 15px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.3s;
}

.send-code-button:hover {
    background-color: #45a049;
}

.send-code-button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.send-code-button.counting {
    background-color: #cccccc;
    cursor: not-allowed;
}

/* 修改密码相关样式 */
.form-footer {
    margin-top: 15px;
    text-align: center;
}

.change-password-link,
.back-to-login {
    color: #4CAF50;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.change-password-link:hover,
.back-to-login:hover {
    color: #45a049;
    text-decoration: underline;
}

#change-password-form {
    display: none;
}

#change-password-form.active {
    display: block;
} 